package net.zoneland.knowledge.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QuickNavExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuickNavExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("CATEGORY is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("CATEGORY is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(String value) {
            addCriterion("CATEGORY =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(String value) {
            addCriterion("CATEGORY <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(String value) {
            addCriterion("CATEGORY >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(String value) {
            addCriterion("CATEGORY <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(String value) {
            addCriterion("CATEGORY <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLike(String value) {
            addCriterion("CATEGORY like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotLike(String value) {
            addCriterion("CATEGORY not like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<String> values) {
            addCriterion("CATEGORY in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<String> values) {
            addCriterion("CATEGORY not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(String value1, String value2) {
            addCriterion("CATEGORY between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(String value1, String value2) {
            addCriterion("CATEGORY not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andNaviCodeIsNull() {
            addCriterion("NAVICODE is null");
            return (Criteria) this;
        }

        public Criteria andNaviCodeIsNotNull() {
            addCriterion("NAVICODE is not null");
            return (Criteria) this;
        }

        public Criteria andNaviCodeEqualTo(String value) {
            addCriterion("NAVICODE =", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeNotEqualTo(String value) {
            addCriterion("NAVICODE <>", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeGreaterThan(String value) {
            addCriterion("NAVICODE >", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeGreaterThanOrEqualTo(String value) {
            addCriterion("NAVICODE >=", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeLessThan(String value) {
            addCriterion("NAVICODE <", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeLessThanOrEqualTo(String value) {
            addCriterion("NAVICODE <=", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeLike(String value) {
            addCriterion("NAVICODE like", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeNotLike(String value) {
            addCriterion("NAVICODE not like", value, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeIn(List<String> values) {
            addCriterion("NAVICODE in", values, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeNotIn(List<String> values) {
            addCriterion("NAVICODE not in", values, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeBetween(String value1, String value2) {
            addCriterion("NAVICODE between", value1, value2, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviCodeNotBetween(String value1, String value2) {
            addCriterion("NAVICODE not between", value1, value2, "naviCode");
            return (Criteria) this;
        }

        public Criteria andNaviNameIsNull() {
            addCriterion("NAVINAME is null");
            return (Criteria) this;
        }

        public Criteria andNaviNameIsNotNull() {
            addCriterion("NAVINAME is not null");
            return (Criteria) this;
        }

        public Criteria andNaviNameEqualTo(String value) {
            addCriterion("NAVINAME =", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameNotEqualTo(String value) {
            addCriterion("NAVINAME <>", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameGreaterThan(String value) {
            addCriterion("NAVINAME >", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAVINAME >=", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameLessThan(String value) {
            addCriterion("NAVINAME <", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameLessThanOrEqualTo(String value) {
            addCriterion("NAVINAME <=", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameLike(String value) {
            addCriterion("NAVINAME like", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameNotLike(String value) {
            addCriterion("NAVINAME not like", value, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameIn(List<String> values) {
            addCriterion("NAVINAME in", values, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameNotIn(List<String> values) {
            addCriterion("NAVINAME not in", values, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameBetween(String value1, String value2) {
            addCriterion("NAVINAME between", value1, value2, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviNameNotBetween(String value1, String value2) {
            addCriterion("NAVINAME not between", value1, value2, "naviName");
            return (Criteria) this;
        }

        public Criteria andNaviImgIsNull() {
            addCriterion("NAVIIMG is null");
            return (Criteria) this;
        }

        public Criteria andNaviImgIsNotNull() {
            addCriterion("NAVIIMG is not null");
            return (Criteria) this;
        }

        public Criteria andNaviImgEqualTo(String value) {
            addCriterion("NAVIIMG =", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgNotEqualTo(String value) {
            addCriterion("NAVIIMG <>", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgGreaterThan(String value) {
            addCriterion("NAVIIMG >", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgGreaterThanOrEqualTo(String value) {
            addCriterion("NAVIIMG >=", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgLessThan(String value) {
            addCriterion("NAVIIMG <", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgLessThanOrEqualTo(String value) {
            addCriterion("NAVIIMG <=", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgLike(String value) {
            addCriterion("NAVIIMG like", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgNotLike(String value) {
            addCriterion("NAVIIMG not like", value, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgIn(List<String> values) {
            addCriterion("NAVIIMG in", values, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgNotIn(List<String> values) {
            addCriterion("NAVIIMG not in", values, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgBetween(String value1, String value2) {
            addCriterion("NAVIIMG between", value1, value2, "naviImg");
            return (Criteria) this;
        }

        public Criteria andNaviImgNotBetween(String value1, String value2) {
            addCriterion("NAVIIMG not between", value1, value2, "naviImg");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("ORDERID is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("ORDERID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Short value) {
            addCriterion("ORDERID =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Short value) {
            addCriterion("ORDERID <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Short value) {
            addCriterion("ORDERID >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Short value) {
            addCriterion("ORDERID >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Short value) {
            addCriterion("ORDERID <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Short value) {
            addCriterion("ORDERID <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Short> values) {
            addCriterion("ORDERID in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Short> values) {
            addCriterion("ORDERID not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Short value1, Short value2) {
            addCriterion("ORDERID between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Short value1, Short value2) {
            addCriterion("ORDERID not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andNaviContentIsNull() {
            addCriterion("NAVICONTENT is null");
            return (Criteria) this;
        }

        public Criteria andNaviContentIsNotNull() {
            addCriterion("NAVICONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andNaviContentEqualTo(String value) {
            addCriterion("NAVICONTENT =", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentNotEqualTo(String value) {
            addCriterion("NAVICONTENT <>", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentGreaterThan(String value) {
            addCriterion("NAVICONTENT >", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentGreaterThanOrEqualTo(String value) {
            addCriterion("NAVICONTENT >=", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentLessThan(String value) {
            addCriterion("NAVICONTENT <", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentLessThanOrEqualTo(String value) {
            addCriterion("NAVICONTENT <=", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentLike(String value) {
            addCriterion("NAVICONTENT like", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentNotLike(String value) {
            addCriterion("NAVICONTENT not like", value, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentIn(List<String> values) {
            addCriterion("NAVICONTENT in", values, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentNotIn(List<String> values) {
            addCriterion("NAVICONTENT not in", values, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentBetween(String value1, String value2) {
            addCriterion("NAVICONTENT between", value1, value2, "naviContent");
            return (Criteria) this;
        }

        public Criteria andNaviContentNotBetween(String value1, String value2) {
            addCriterion("NAVICONTENT not between", value1, value2, "naviContent");
            return (Criteria) this;
        }

        public Criteria andItemUrlIsNull() {
            addCriterion("ITEMURL is null");
            return (Criteria) this;
        }

        public Criteria andItemUrlIsNotNull() {
            addCriterion("ITEMURL is not null");
            return (Criteria) this;
        }

        public Criteria andItemUrlEqualTo(String value) {
            addCriterion("ITEMURL =", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlNotEqualTo(String value) {
            addCriterion("ITEMURL <>", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlGreaterThan(String value) {
            addCriterion("ITEMURL >", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlGreaterThanOrEqualTo(String value) {
            addCriterion("ITEMURL >=", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlLessThan(String value) {
            addCriterion("ITEMURL <", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlLessThanOrEqualTo(String value) {
            addCriterion("ITEMURL <=", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlLike(String value) {
            addCriterion("ITEMURL like", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlNotLike(String value) {
            addCriterion("ITEMURL not like", value, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlIn(List<String> values) {
            addCriterion("ITEMURL in", values, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlNotIn(List<String> values) {
            addCriterion("ITEMURL not in", values, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlBetween(String value1, String value2) {
            addCriterion("ITEMURL between", value1, value2, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andItemUrlNotBetween(String value1, String value2) {
            addCriterion("ITEMURL not between", value1, value2, "itemUrl");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("CREATOR is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("CREATOR is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("CREATOR =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("CREATOR <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("CREATOR >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("CREATOR >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("CREATOR <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("CREATOR <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("CREATOR like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("CREATOR not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("CREATOR in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("CREATOR not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("CREATOR between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("CREATOR not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andUpdatorIsNull() {
            addCriterion("UPDATOR is null");
            return (Criteria) this;
        }

        public Criteria andUpdatorIsNotNull() {
            addCriterion("UPDATOR is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatorEqualTo(String value) {
            addCriterion("UPDATOR =", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorNotEqualTo(String value) {
            addCriterion("UPDATOR <>", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorGreaterThan(String value) {
            addCriterion("UPDATOR >", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATOR >=", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorLessThan(String value) {
            addCriterion("UPDATOR <", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorLessThanOrEqualTo(String value) {
            addCriterion("UPDATOR <=", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorLike(String value) {
            addCriterion("UPDATOR like", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorNotLike(String value) {
            addCriterion("UPDATOR not like", value, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorIn(List<String> values) {
            addCriterion("UPDATOR in", values, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorNotIn(List<String> values) {
            addCriterion("UPDATOR not in", values, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorBetween(String value1, String value2) {
            addCriterion("UPDATOR between", value1, value2, "updator");
            return (Criteria) this;
        }

        public Criteria andUpdatorNotBetween(String value1, String value2) {
            addCriterion("UPDATOR not between", value1, value2, "updator");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CREATETIME is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CREATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CREATETIME =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CREATETIME <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CREATETIME >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATETIME >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CREATETIME <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATETIME <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CREATETIME in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CREATETIME not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CREATETIME between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATETIME not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UPDATETIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UPDATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UPDATETIME =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UPDATETIME <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UPDATETIME >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATETIME >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UPDATETIME <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATETIME <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UPDATETIME in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UPDATETIME not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UPDATETIME between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATETIME not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}